import 'package:get/get.dart';
import 'package:tin_flutter/ui/bean/response/home_content_entity.dart';
import 'package:tin_flutter/ui/bean/response/recommend_product_entity.dart';

class MainState {
  MainState() {}

  /// 轮播列表
  var advertiseList = <HomeContentAdvertiseList>[].obs;

  /// 品牌列表
  var brandList = <HomeContentBrandList>[].obs;

  /// 秒杀专区
  var flashPromotion = Rx<HomeContentHomeFlashPromotion?>(null);

  /// 新品列表
  var newProductList = <HomeContentNewProductList>[].obs;

  /// 热门列表
  var hotProductList = <HomeContentHotProductList>[].obs;

  /// 推荐列表
  var recommendProductList = <RecommendProductEntity>[].obs;
  var currentPage = 1.obs;
  var isLoading = false.obs;
  var hasMore = true.obs;

  /// 选中索引
  var selectedIndex = 0.obs;

}
